from common.common_models import LogDetail


class LogDetailException(Exception):
    def __init__(self, log_detail: LogDetail = None):
        super().__init__()
        self._log_detail = log_detail

    @property
    def log_detail(self):
        return self._log_detail
